Fixed issues with mrt
Fixed mrt issues in lending library
Merge