fix case-sensitive errors