oops, missed the syntax of if in bash