fixed if [] with if [[]]