compiler warnings resolved