Hopefully fix PT crashes