Fixed wrong expression
Removed warning, and make conf to handle warning as error