fix a permission issue