quick fix of purchase date validation