fixed more compiler warnings