fixed error at end of file trans