remove usused codes.