fix the conflict issue between dom ready and source ready
for resolve source ready