fixed removeplates