register spec fix