fixes syntax for async wrap operation and updates compiler