edited error constants