Fix getattr in app_server