yes, it was a nuisiance but I believe I fixed it.
now, when I use the numerical recipes code, it just works both inverse and forward. I believe I'm doing something wrong in my code, cause I get the negative of the imaginary part. However I can still get the original sequence with the inverse transform (my code). my code vs num. rep. just doesn't work because of the difference of the imaginary parts.
no, it's not for image processing. It was for somekind of contest, which I already failed to submit in time.