Fixed case bug