Fix typo that removed '$' from '$key'