fixed invalid shell conditional expression