Fixing branch check