better XS compat