fix `upstream` position