fixing bug in body meta class PyLayers