Fixed data nill bug. Added dotxOffset