Creating a table gives a missing right parenthesis error