improved dash fragment generated & fixed style