change verifyResource to verifyResourceId