Fix bug: immediately show messages in every case