handled error condition in teams and players page