Fixed some bugs on embedded gzaas