fix uncaught classnotfoundexception in MapTask patch