update xib
fix compiler warnings