fixed bug: reverse logic