- proper check if variable is set to avoid the "not filled anymore" block problem