fixing logging, but also still have an issue routing a return message externally