now pickling the layers seems to work ?!?