fixing checkout branch variable