changed id field from character to numeric