fixing casing mismatch between server and client