fix a xib compatible error