memory collapse bug is fixed.