remove nasty compiler warnings