fixing validation for properties location.