clean db on startup
fix ie compatibility