fixing typo and consecutive calls