remove warning from ch 6