fixing issue with bootstrap flash helper