zeroing out in inverse on both