resolved more compiler warnings