added option isFitWidth