small updates to ir init