fix class task object loading