Fix bug with toasts