Fixing register, removed bit of junk