fixed branches pointer