Remove useless transaction