set default error and hint classes