remove unnecessary features