Make plater work with new XS code