ifelse page fix