lecture 6 fix bug: default layout