fixed some warnings and buildxml