ts6: don't crash when receiving globals