same error, fixed some if bonds