updated build version to 21 and fixed attribute error in xml file