fixed the spelling mistake with pending. fixes #165