remove unnecessary object