Fixed crash when Stack has not been deployed yet