fix for Logger and plugin order