fixed all known dialogue bugs