solved uppercase lowercase state problem in db level