fixed more braces