extra check in team show view, which caused an internal server error on pythonanywhere is now in place