fix some ST3 incompatibilities