fixed stray curly bracket