fix the instance view permission problem