add case sensitive check to model