Added warning to the correct file