fix return view