got rid of registry helper method, since FML fixed it