problem passing ids