Fix incorrect variable name used in a place