small fix on LayerControllerBase