lib references fixed