fixed wrong x,x return error