external lib problem fixed