fix loading events of OSMF async plugins