fixed dynamic rendering logic for fragment control