Fixed safari compatibility problem
patch p0