fix db write, begin initializing backbone