showing error message when team not selected