Change warning to div