Fixed id logic by using .get({id:id}) instaed of .at(id)