[Lesson 4] Fix space bug where it cannot exectute sql