Fix for wrong variable name