Fix wrong reference to cfg.

Change-Id: Idfd09294077ac32bd3a8a76ad8d196f0c47da73e