revise all chrome runtime api with try/catch statement