debug near to out put the right results