Fixes argument type for apply_async