formate amdquery
fix ie
modify document