fixes and db:init command