in doc ready