fixed even more compiler warnings