Fix uneccessary mut found by 1.22