Fix a brace test, need to clean up the code later.