better error checking when creating table