fixed parsing dashes