add valid attributes
fix failing feature spec