fix when, fix then