better default-value handling for RTL fix. Not fixed
redundant cast removed
Issue #174, looks better by the commit. Now supporting not-avaliable