fix ajax blocking page issue