transactions are buggy