skew detection module added