replaced print stderror by logger debug