fix for undefined context

Signed-off-by: haddada <haddadaseif@gmail.com>