Fixed a non interactive bug