fixed some offsets