fix customView bug