Sample competition creation throws exception; make it work