remove magres_constants