forgot to check one condition