Add layerCtl amd layoutCtl plugin
Fix bug