fixed external library issue