changes because of compiler warnings