fixed uninitialized garbage values when error occurred during liquidation

Fixed bug described in detail at #11