fix custom views are not visible