remove end tabs from vectors