getting rid of all global contexts