validator bug fixed