make sure context variable is always initialized