fix two compiler warnings about work with boolean values..