fix bug of check xib exists