fixed branch checkout