fix bug in import books