fixed bug in xmltools
added normalization for extra features