added gem better_error