fix validation view variables