Avoid error on safari

TypeError: Attempting to change the setter of an unconfigurable property