fixed bugs and added alert box for incomplete tournaments