fix bug with partials glob being undefined