fix variables in point plotting functions