fixing expand in chap 06