Fix empty link issue