fix deprecated error_show