correct for offset(sort of)