fixed the branches execpt declaration