bug fixes that redis can't boot up after restarting