Fixed compiler warning