#232 solved and also when no graph selected