i think there an `if` missing