Fixing validationresult