remove stray ifelse