Fixed bugs in calledInstructionByName