added magic-db to deps