Correcting wrong variable name