index: fix syntax errors
package: add missing deps