fix strict compilation (fixes up HEAD^)