fixes error in books setup for mysql