remove unneeded double