Delete useless variables