Fixed api books error