remove unneeded double check