delete unused import and fix upload book bug