bug fix for classnotfoundexceptions