fixed duplicated context loading