removed excessive init checks and added db wipe on startup