XML code cannot be correctly saved (#412)