Responsive generator fix.

This PR fixes issue #145.