tileserver: fix primitive error