repairing bug with creating books