wrap with warning