Fixes charts. Fixes database resets