Avoid backtrack, thanks to @hoaproject