fix branch on constant