small improvements to soma and fixed missing brace