fixed course chapter add bug