[minor] [fix] reload doctype and docfield twice