LINE: should have width 1 and not width 0
fixed overflow probem with partial matching