remove uneeded files for public side