remove unnecessary work