fix for new rust versions