Fixed bug in plotting IRs