Fix show messages of success or error