fixed missing curly bracket