Trying to fix a bug on dashboard