fix to classAssigner