drop a then after if