WIP, fix mismatched brackets.