mag page cleanup