Removing useless dashes