don't use resource in handler