fixed memory bug by adding +1 to preset size