remove content function