Fixed context not defined