Fix a lag and a permission issue.