changed properties check from NotEmpty to NotBlank, to cater for
accidental whitespaces