dont set last layer if none yet set