fixed unused validation