fixed bug for unfinished competitions