fixed wrong braces