fix deploy after commit to targets
fix converting some targets for other branches