dont iterate view hook if there arent any