fix for autoformat xml taking over