Fix typo and add warning