fixed a trip bug
continued registration impl