add terms error class