Fix generators path

Closes #526