small changes because of compiler warnings