fix bug with leaving out a dash