Fix error for unbound globals