changed permission for Ref/GlobalRef