fix dependencies and redis stuff