Fix typo on internal variables