escape backslashes in the class role