Fixed bug in Key 03 for the dft function