fix linux gcc identified bug: always true test