Fixing dialogue bugs