added exception in linearly dependent systems