fix error when 0 tiles match