fix RequirementError: The option width must be one of the following types: number, undefined, null on firefox 23