fix issue with sales validation