made magprops more robust