fixed a stopping pb
remove in reverse order