fix(csr): make sanity check on ip