API: Corrected wrong variable name