fix usage of removed globals