fixed the rent return and renew book, error handling