fix support for xib