reverted to if

Signed-off-by: Ninjaparade <yazjallad@gmail.com>