Misleading message in exception fixed