fix accept nil options