Fix to reference error in partial.