fixed error when reloading a view