fix for dash pattern parsing