remove unnecessary details