fixed missing closing symbols