fixed limit on setEntry