Fixing Typo and array