make async data work