Fixed a bug in the IDL widget