remove debug args and loglevel instead