fix closing curly bracket