fix output name and remove print