Fix the global data's access right was not setting issue