fix dict bad access error and memory leak on burst
fix dict memory management