added suuport for internal links