adding better errors support
fix rack flash