fixing dashboard creation method