Clean useless code