warning switch solved