fix active controllers macro bug