adding warn logic

adding a warning for missing tags