fixed result values of axi_write() function