clean up link and fix whitespace of new div