minor changes for errors found in validation