Remove useless pointer keeping