Fix a bug and made RAT_driver a bit more consistant.