Fix usermemo and ip block bugs