second time open book bug fix