inference 3 bugfix