fixed issue with self in function signatures

template didn't run for a while. it was fixed in one insert function but
not another.