fix buffer for lesson 4