remove unneeded separator