fix safari parsing that wasn't obvious in dev mode