drop variable assignment in validations