make mv_dotve a bit safer