issue with offsets