Simplify err handler shit