fixed shell brackets to POSIX style