Fixed small bug in rtl