fix config
modify AMDQuery
slimming amdquery
modify document