adapting app["config"] to its real type