fix for "java.lang.ClassCastException" (i forgot to add it =/ )