fixe memory bug by adding + 1 to preset size