bugfix (crash in absence of opening book)