clean up vector tile code