Fixed issue with unused 'response' var

fixes #212