Remove non wanted parts