add validate on quantity