debugging shared_ptr problem...
I released some resource twice = =b