fixed bug of not flip back when not match