removal of a curly bracket error