fix #272: MAX_OBJECT_LENGTH