fix bugs when creating private contests