context change working consistently