fixed dialog output