fixes to make it work with latest tripod version