fixed controlLayer ownership mistake