fix mag platform file? edit doc