fixing #24 warning flag