fixed validate price function to allow deleting numbers