hopefully fix dict error