removes unnecessary instance vars