cleanup of compiler warnings