cleanup external_link code
capitalization error
* fix #805