get rid of unnecessary stuff