[FIX] fixed "comparison is always true" warning