fixing layout link bug