fix to dashboard controller