Fix GetTargetDest

Deleting function cache. It is causing problems with few functions and there is not much use for it, especially with our current setup.