fix permission at GWT side