inequilty bug fix