fixed syntax bugs
temporarily omitted test: remove group