Changes for clicked package and fixed emtpy element in links