fixes heroku issue
fixes bug where info button on admin deletes book