bismark memory fix