fix issue when instalations and tokens size is different