db backup + bug fixes