messed up xml again because idea had done wrong statements