Fix issues with partials loading