resolve visit mass-asign error