external lib errors fix