build with target deploy fixes