Fixed an mp bug