cleaned up the async functionality and fixed it