fixed minor bug with validation