fixes ids