Fix bug with RT module