patch to fix unknown class error