made link rendering better