fixed the mpw