fixed sp, incoming var should be named differently from columns for cursors