Added warning and corrected copy/paste error