fix table declaration