changed warning messages to use bootstrap