removed docstatus checks