fix attr in spec