Fixed api to properly set contributor name

#1622