Change success callback and fix spelling issue

fixes #4