faster and better looking unexpected errors code