got rid of compiler warnings