more fixes for deploy