fixed bug with saving insight without database