Fix for issue with classesdir