zq code
zq
fixed some bug caused by merging zq code