fixing class array