Fixed casing bug