fix staging db