Fix these to be if's rather than select stuff.