fix generator and update README