get rid of compiler warnings