teams page controller fix