Correct casing before inserting to db