making ios work without modification hopefully...