fixed error in xml and implemented post