fixed depdencies and syntax bug