Fixed dialogue errors