tp:s2w: Fix wrong variable names