remove dulpulicate codes in user_dashboard_spec