Fix DCT problem