remove redis code