fixed brandans IO stuff