ouch... added missing if