add exit error code