remove unneeded jsr calls