fix async marked

This is a more robust version of the async version. The current async version doesn't even work.