fix validity