the reason for fetching commits twice was different. Fixed