fixed xml input reading of xgrid, ygrid