fixed delete book function