fixed stupid compiler warnings