fix bug register multisite
prevent error when read /dev/urandom some server