rd: making a fix for safari