removed unknown logic for empy context