fixed registering methods