db tasks and fixing dashboard