fix in space_constant, progress on magnetic.xml