fixed master ip
fixed resolve-token feature on invalid token