fixed case bug