fixed bug in mmv