remove warnings during compilation