Remove unuseful piece of code