fixed application adapter bug