Fixed Bug in Branch