Updating ref to not crash on mac.