Fix an issue when entering table