improve fatal catching when app() is created but not yet run