fixed bug with links being shown when there is no url