book copy function fix.