fix document
fix tabview
add tab location
document amdquery.