fix bug in RealView