fixing more compiler warnings