change syntax for registerid