cleaner implem. for reading ties