missed the condition fixing it