handle missing secrets