Fix for RM transaction