Fixed bug in view5