remove private file
finished for production mode