needed for error reporting messages to show up right in bootstrap