added fix for the richtmyer impl