Fix layers list.