correct dx in if of setMood