fixed bash syntax error