keep itself with $app variable.
use cached app in direct mode as well.
suppressed warning.
shows what's returned.