fix modal view error on subformat calling