fix end statements in redis recipe