small fix for compiler warning