fixed an exception in MeV