fix: mac patch fix