fixing book controller