delete some unuseful code