fix various bugs. dashboard update.