-a modified
Fixed Zratio bug