Fixed bug if there is no T2 and no distortion correction