ruby patch is not necessary here
get this working on safari again