fix anonymous controller bug