fixes and new config options

fix when aspec ratio is zero length string
add config options for