fixed a typo in warning