Reading xml and path fix