fix broken test crashing