fixing case error