Fixed an exception bug inn the interface.