Just fixed a typo and added a warning

Honest mistake I took from pasting it from my own system :)