Fix ajax tasks on dashboard