fix static handler