fixing validation overwriter