Remove the non-necessary part