Fixing db ticks