Fixed misuse of Long.getLong, Integer.getInteger, Boolean.getBoolean