fix bug in static handler
v0.3.3