change options.async to options.block