trying to fix the fail of dom.ready