allow to return same context

It was crashing with recursion issue