fix log-level arg parsing