fixing dialogues