fix staticpath