fix view for predict