bus error occurs in other remove statement now