fixing up dialogue