fixing automatic deployment