fixed the remove script