Remove unuseful code