modify async handler