mag-phase fixes for FF.