fixing register simple