make better_errors work