Fixing the links of individual layers