changed active param to visible