Feature take care of empty vars

during size calculations some confusing errors are shown when e.g. data-section is empty