fix deleting current module and current book