fixed the switch up in the getter and setter for id