fix db models and backup importing