solving bug when saving median/mean baseline method in registry