fix registration spec