minifyLocals fixes