drop useless declaration
compact on trim