fix syntax and dependencies