removed compiler warnings