add support for private_app