fixed REST-Register