fix syntax and increase max-nesting-stack-level