remove non-essential stuff