fixed magsq