fix setUnitPrice and Doctrine Exceptin