remove legacy active record