use default type when width is None