fixed xml/html seperation