issue with class dep