Try using the isolate std err helper to supress that message. The happening twice thing should probably be fixed though..