fix dashboard controller