fixed case in matching