fix async css bug