remove duplicate dashboard logic