fixed drawing, started db