error in the function out_put result