Simplify error checker
New new imgr