removed compiler warnings and hints