solving issues and removing io-mode