forgot to move else block with toast