Fixed typo in createtables