registration partially works