Fixing bug with dashboard controller