conversion file has a bunch of 'expected ends'

not sure if script is safe. it should be tested