Fixes to collapse maya files.