fix annotaion and xml config