fix dashboard init script