fixed wrong bash syntax