shouldn't this be an Error not a warning?