more io fixes