[lib molest] fix case when both {()} {[]} are used at once