Bug fix: The right variable name was not used