fixed validation-errors