cleanup and redis options