remove stray if from books_controller