consistent output between program and docker