adding 0 of bgd_frame_i in bgd frame processor to fix seg fault