had two log main directives oops