Fix error when plugin don't extend book