bash: fixed syntax error