fix: bug of conditional statement.