correcting type for prev repo