missed update - fix bash conditional