fixed get_singleton that was not static