Fixed some RTL stuff