fix warning
replace xib with loadView code