fixing bad chapter key
Fixing build errors