no longer crashes when run during a test