fixed possible memory corruption
fix possible memory corruption