Error: a layer with the ID 4 does not exist!