Ambiguity because of gcc
Fix format pull request #2
Limit calls to last_completed