Fix bug on number of temporary buffers

1 job for master in 3 minutes and 31 seconds