dynamic lib fix