fixes for deploy task