fixing getId