fixed elasticsearch and redis startup