external lib fix