fixed word case bug