fixing auto deployment